package com.jz.community.modulemine.rechargephone.ui;

import com.jz.community.basecomm.mvp.MVPContract;
import com.jz.community.modulemine.money.bean.MoneyInfoBean;
import com.jz.community.modulemine.rechargephone.bean.PhoneFareBean;
import com.jz.community.modulemine.rechargephone.bean.PhonePriceBean;

public interface PhoneFareView extends MVPContract {
    interface View extends MVPContract.View {
        void setPhoneData(PhonePriceBean entity);

        void phoneDataFail(String msg);

        void setMoneyData(MoneyInfoBean entity);

        void MoneyDataFail(String msg);

        void PhoneFareSuccess(PhoneFareBean entity);

        void PhoneFareFail(String msg);
    }

    interface Presenter extends MVPContract.Presenter<PhoneFareView.View> {
        void initPhoneData(int page, int size);

        void initMoneyData();

        void rechargePhone(String phone, int type, String id);

    }
}
